package com.gsdkjgpt4.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author rendong
 * @since 2024-01-18
 */
@TableName("history")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer pkId;

    private Integer isChatgpt;

    private String context;

    private Integer userId;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }
    public Integer getIsChatgpt() {
        return isChatgpt;
    }

    public void setIsChatgpt(Integer isChatgpt) {
        this.isChatgpt = isChatgpt;
    }
    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "History{" +
            "pkId=" + pkId +
            ", isChatgpt=" + isChatgpt +
            ", context=" + context +
            ", userId=" + userId +
        "}";
    }
}
